projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8af7df6
)
(diff): Call shell-quote-argument.
author
Richard M. Stallman
<rms@gnu.org>
Fri, 31 Dec 1993 09:26:43 +0000
(09:26 +0000)
committer
Richard M. Stallman
<rms@gnu.org>
Fri, 31 Dec 1993 09:26:43 +0000
(09:26 +0000)
lisp/diff.el
patch
|
blob
|
history
diff --git
a/lisp/diff.el
b/lisp/diff.el
index e301aa70a6e9e31541ed218e8fb935779831c79d..82a657f4ecc9d19ebbce923be6d12d2cbceb3d69 100644
(file)
--- a/
lisp/diff.el
+++ b/
lisp/diff.el
@@
-207,8
+207,10
@@
With prefix arg, prompt for diff switches."
(list diff-switches)))
(if (or old-alt new-alt)
(list "-L" old "-L" new))
- (list (or old-alt old))
- (list (or new-alt new)))
+ (list
+ (shell-quote-argument (or old-alt old)))
+ (list
+ (shell-quote-argument (or new-alt new))))
" ")))
(setq buf
(compile-internal command